package com.yz.crm.department.model;

import com.yz.crm.common.bean.TreeNode;

public class DeptTreeNode implements TreeNode {
	
	private String id;
	
	private String pId;
	
	private String name;
	
	private boolean parent;
	

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setParent(boolean parent) {
		this.parent = parent;
	}

	@Override
	public boolean getIsParent() {
		return parent;
	}

	public String getpId() {
		return pId;
	}

	public void setpId(String pId) {
		this.pId = pId;
	}

}
